<?php

namespace app\controllers;
use Yii;
use app\models\Category;
class CommonController extends \yii\web\Controller
{
    public function init()
    {
    	$menu=Category::getMenu();
    	$this->view->params['menu']=$menu;
    	
    }

}
